ExternalFilesInMediaLibrary\ExternalFiles\File B

Total Complexity 99
Dependencies 8
Dependents 13
Total lines 966
Lines of code 384
Logical lines of code 236
Comment lines 412
Methods 36
Properties 5

Methods 36

Method Rating Maintainability Complexity Lines of code
switch_to_local()
B
36 15 82
add_to_cache()
A
46 10 40
switch_to_external()
A
50 8 29
get_url()
S
52 7 24
delete_thumbs()
S
54 6 21
is_cached()
S
61 4 13
get_filesize()
S
63 3 11
get_login()
S
64 3 10
get_password()
S
64 3 10
set_mime_type()
S
61 2 13
get_title()
S
67 2 8
has_credentials()
S
78 2 3
set_login()
S
70 2 6
delete_cache()
S
69 2 7
get_file_extension()
S
68 2 7
get_cache_file()
S
65 2 8
get_attachment_url()
S
68 2 7
get_mime_type()
S
69 2 7
set_filesize()
S
65 2 9
prevent_checks()
S
71 2 6
is_available()
S
67 2 7
set_password()
S
70 2 6
get_file_type_obj()
S
80 1 3
set_metadata()
S
82 1 3
delete()
S
76 1 4
__construct()
S
81 1 3
get_id()
S
82 1 3
set_is_local_saved()
S
79 1 3
is_locally_saved()
S
77 1 3
is_valid()
S
79 1 3
is_mime_type_allowed()
S
78 1 3
set_availability()
S
75 1 4
set_title()
S
68 1 8
set_url()
S
75 1 4
set_id()
S
81 1 3
get_protocol_handler_obj()
S
80 1 3